package com.pioneer.gui.invoice.controller;

import java.util.Vector;
import java.util.HashMap;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import com.pioneer.gui.invoice.view.Confirmation;
import com.pioneer.gui.invoice.view.InvoicePanel;
import com.pioneer.gui.invoice.util.InvoiceDAO;
import com.pioneer.gui.invoice.util.Constants;
import com.pioneer.gui.invoice.util.DropDownDataFactory;
import com.pioneer.gui.invoice.model.InvoiceModel;
import com.pioneer.gui.invoice.model.InvoiceTableModel;


public class SaveButtonAdapter
implements ActionListener,Constants
{
	private InvoiceModel model;
	//private InvoicePanel invoicePanel;
	//private InvoiceDAO dao;
	
	public SaveButtonAdapter(InvoiceModel model)
	{
		this.model=model;
		//this.invoicePanel=invoicePanel;
	}
		
	public void actionPerformed(ActionEvent e)
	{
		Confirmation confirm=new Confirmation("About to save changes","Are you sure you want to save?",this.model);		
	}		
}